<template>
  <div class="searchBar">
    <i class="iconfont icon-sousuo"></i><span>搜索</span>
  </div>
</template>

<script>
export default {
  name: "SearchBar",
};
</script>

<style lang="scss" scoped>
.searchBar {
  width: 95%;
  height: 2rem;
  margin: 0 auto;
  text-align: center;
  line-height: 2rem;
  border-radius: 1rem;
  background-color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  span {
    margin-left: 0.5rem;
  }
}
</style>
